package com.zhuzg.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("seata-store")
public interface StoreService {

    @RequestMapping("/store/deduce")
    public String deduce(@RequestParam("gid") Integer goodsId,
                         @RequestParam("num")Integer  num);
}
